package Player;


/**
 * Klasa implementująca obiekt gracza.
 * 
 * @author Maciej Graszek 
 * @author Pawel Rychly
 *
 */
public class Player {
	
	private String nick = null;
	private Integer id = null;
	private Integer score;
	//private GameStatus gameStatus = null;
	
	public Player(String nick, Integer id) {
		
		this.score = 0;
		this.nick = nick;
		this.id = id;
	}
	
	public void addScore(int i) {
		this.score += i;
	}

	public void setScore(int i) {
		this.score = i;
	}
	
	public int getScore() {
		return score;
	}
	
	public String getNick() {
		return nick;
	}
	
	public int getID() {
		return id;
	}
	
}
